home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ Notepad Options 1.xpl < prev    next >
Text File  |  1999-08-31  |  905b  |  41 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Program Options\Notepad"
  5. "NAME"="Notepad Options"
  6. "VERSION"="1.33"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Enable default word-wrap"
  9. "DESCRIPTION 1"="Some options for Notepad."
  10. "AUTHOR"="Xteq Systems"
  11. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  12. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  13.  
  14.  
  15. Sub Plugin_Initialize 
  16.  i=RegReadValue("HKCU\Software\Microsoft\Notepad\fWrap")
  17.  if i=1 then SetUIElement 1,true
  18. End Sub
  19.  
  20.  
  21. Sub Plugin_CheckData(ElementIndex)
  22. End Sub
  23.  
  24.  
  25.  
  26. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  27.  b=GetUIElement(1)
  28.  if b=true then
  29.   Call RegWriteValue("HKCU\Software\Microsoft\Notepad\fWrap","1",2)
  30.  else
  31.   Call RegWriteValue("HKCU\Software\Microsoft\Notepad\fWrap","0",2)
  32.  end if
  33. End Sub
  34.  
  35.  
  36. Sub Plugin_Terminate 
  37. End Sub
  38.  
  39.  
  40.  
  41.